Skip to content

商户单号查询自动收款授权

根据商户单号用户自动收款授权的详细信息。

请求参数类型描述
out_authorization_nostring商户侧授权单号
php
$instance->v3->fundApp->mchTransfer->userConfirmAuthorization->outAuthorizationNo->_out_authorization_no_->getAsync([
  'out_authorization_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/fund-app/mch-transfer/user-confirm-authorization/out-authorization-no/{out_authorization_no}')->getAsync([
  'out_authorization_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/fund-app/mch-transfer/user-confirm-authorization/out-authorization-no/{out_authorization_no}']->getAsync([
  'out_authorization_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->fundApp->mchTransfer->userConfirmAuthorization->outAuthorizationNo->_out_authorization_no_->get([
  'out_authorization_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/fund-app/mch-transfer/user-confirm-authorization/out-authorization-no/{out_authorization_no}')->get([
  'out_authorization_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/fund-app/mch-transfer/user-confirm-authorization/out-authorization-no/{out_authorization_no}']->get([
  'out_authorization_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
out_authorization_nostring商户侧授权单号
appidstring商户AppID
openidstring收款用户OpenID
user_display_namestring用户展示名称
authorization_idstring微信自动收款授权单号
statestring单据状态
TAKING_EFFECT | CLOSED 枚举值之一
authorize_timestring用户确认授权的时间
close_infoobject自动收款授权的关闭信息
close_timestring关闭时间
close_reasonstring自动收款授权的原因
CLOSE_VIA_MCH_API | USER_CLOSE 枚举值之一

参阅 官方文档

Published on the GitHub by TheNorthMemory